
function editChargeType() {
	$("#pay_showbox").hide();
	$("#pay_editbox").show();
}
function updateChargeType() {
	var deliverType = $("input[name='customer.deliverType']:checked");
	var payType = $("input[name='customer.payType']:checked");
	var orderId = $("#orderId").val();
	var url = context_path + "/order/updateChargeType.do";
	var params = {deliverType:deliverType.val(), payType:payType.val(), orderId:orderId};
	$.ajax({url:url, type:"POST", data:params, success:function (responseMsg) {
		$("#pay_showbox").html("[ " + deliverType.attr("desc") + " ] [ " + payType.attr("desc") + " ]").show();
		$("#pay_editbox").hide();
	}});
}

